{template 'header'}
<script type="text/javascript">var sh = '{$MOD[linkurl]}search.php?catid={$catid}';</script>
<div class="m">
<div class="m_l_1 f_l">
	{template 'qy-cat','tag'}
	<div class="b10">&nbsp;</div>
	<div class="qy_navtab">
		<ul><li{if $typeid==99 || $typeid==''} class="qy_tabon"{/if}><a href="{$MOD[linkurl]}{$linkurl}"><span>ALL</span></a></li>{loop $TYPE $k $v}<li{if $typeid=='$k'} class="qy_tabon"{/if}><a href="javascript:Go('{$MOD[linkurl]}{rewrite('index.php?typeid='.$k.'&catid='.$catid)}');"><span>{$v}</span></a></li>{/loop}</ul>
	</div>
		<div class="left_box">
		{if $CP}
		{loop $PPT $p}
		<div class="ppt">
			<table cellpadding="0" cellspacing="0" width="100%">
			<tr>
			<td class="ppt_l" valign="top">press{$p[name]}</td>
			<td class="ppt_r" valign="top">
			{loop $p[options] $o}
			<a href="###" onclick="Go(sh+'&ppt_{$p[oid]}={urlencode($o)}');">{$o}</a>&nbsp;|&nbsp;
			{/loop}
			</td>
			</tr>
			</table>
		</div>
		{/loop}
		{/if}
		<div class="b10 c_b">&nbsp;</div>
		<form method="post">
		<div class="sell_tip" id="sell_tip" style="display:none;" title="Double-click the Close" ondblclick="Dh(this.id);">
			<div>
				<p>You can</p>
				<input type="submit" value="Contrast" onclick="this.form.action='{$MOD[linkurl]}compare.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/> Or 
				<input type="submit" value="inquiry" onclick="this.form.action='{$MOD[linkurl]}inquiry.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/>
			</div>
		</div>
		<div class="img_tip" id="img_tip" style="display:none;">&nbsp;</div>
		<div class="tool">
			<table>
			<tr height="30">
			<td width="25" align="center"><input type="checkbox" onclick="checkall(this.form);"/></td>
			<td>
				<input type="submit" value="Contrast" onclick="this.form.action='{$MOD[linkurl]}compare.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/>&nbsp;
				<input type="submit" value="inquiry" onclick="this.form.action='{$MOD[linkurl]}inquiry.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/>
			</td>
			<td align="right">
			<input type="checkbox" onclick="Go(sh+'&price=1');"/>Price&nbsp;
			<input type="checkbox" onclick="Go(sh+'&thumb=1');"/>Picture&nbsp;
			<input type="checkbox" onclick="Go(sh+'&vip=1');"/>{VIP}&nbsp;
			<select onchange="Go(sh+'&day='+this.value)">
			<option value="0">Updated</option>
			<option value="1">1 days</option>
			<option value="3">3 days</option>
			<option value="7">7 days</option>
			<option value="15">15 days</option>
			<option value="30">30 days</option>
			</select>&nbsp;
			<select onchange="Go(sh+'&order='+this.value)">
			<option value="0">Display order</option>
			<option value="2">Price high to low</option>
			<option value="3">price from low to high</option>
			<option value="4">VIPlevel from high to low</option>
			<option value="5">VIPlevel from low to high</option>
			<option value="6">shipments from high to low</option>
			<option value="7">shipments from low to high</option>
			<option value="8">MOQ from high to low</option>
			<option value="9">MOQ from low to high</option>
			</select>&nbsp;			
			<img src="{DT_SKIN}image/list_txt.gif" width="16" height="16" alt="Text List" align="absmiddle" class="c_p" onclick="Go(sh+'&list=2');"/>&nbsp;
			<img src="{DT_SKIN}image/list_img.gif" width="16" height="16" alt="Picture List" align="absmiddle" class="c_p" onclick="Go(sh+'&list=1');"/>&nbsp;
			<img src="{DT_SKIN}image/list_mix_on.gif" width="16" height="16" alt="Photo List" align="absmiddle" class="c_p" onclick="Go(sh+'&list=0');"/>&nbsp;
			</td>
			</tr>
			</table>
		</div>
		{if $page == 1}{ad($moduleid,$catid,$kw,6)}{/if}
		{if $tags}{template 'list-'.$module, 'tag'}{/if}
		<div class="tool">
			<table>
			<tr height="30">
			<td width="25"></td>
			<td>
				<input type="submit" value="Contrast" onclick="this.form.action='{$MOD[linkurl]}compare.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/>&nbsp;
				<input type="submit" value="inquiry" onclick="this.form.action='{$MOD[linkurl]}inquiry.php';" class="btn_1" onmouseover="this.className='btn_2'" onmouseout="this.className='btn_1'"/>
			</td>
			</tr>
			</table>
		</div>
		</form>
		<br/>
	</div>
</div>
<div class="m_n f_l">&nbsp;</div>
<div class="m_r_1 f_l">
	{template 'list-right','tag'}
</div>
</div>
{template 'footer'}